pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Wed, 21 Dec 2022 21:40:24 +0000 (22:40 +0100)
commit4f6e42c8d167064731e217e2107e15cf69aa70a3
treee444714827f66b2ab3d634bab390499159b5376c
parent24af8faa9a0be6f6f0177cdd9663eaf7ecf7d166
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py